package br.com.equus.bean;

import java.util.Map;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import br.com.arquitetura.bean.PaginableBean;
import br.com.equus.entidade.GrauSangue;

@ManagedBean(name = "grauSangueBean")
@ViewScoped
public class GrauSangueBean extends PaginableBean<GrauSangue> {

	private static final long serialVersionUID = 1L;

	public GrauSangueBean() {
	}

	@Override
	public void verificarAcesso() {
		acessoBean.bloquearTela("ROLE_GRAU_SANGUE");
	}

	@Override
	public GrauSangue createModel() {
		return new GrauSangue();
	}

	@Override
	public String getQualifiedName() {
		return "Grau do Sangue";
	}

	@Override
	public boolean isFeminino() {
		return false;
	}

	@Override
	public Map<String, String> getFilters() {
		return null;
	}

}
